package com.quanyan.place.mapper;

import com.quanyan.place.entity.apiresp.RespPlaceTicketStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created by youxiaojia on 2016/10/9.
 */
public interface TbPlaceTicketStatisticsPlusMapper {
    List<RespPlaceTicketStatistics> selectTicketStatisticsList(@Param("placeId") Integer placeId,
                                                               @Param("startDate") Date startDate,
                                                               @Param("endDate") Date endDate,
                                                               @Param("begin") Integer begin,
                                                               @Param("pageSize") Integer pageSize);

    List<RespPlaceTicketStatistics> selectTicketStatisticsListExport(@Param("placeId") Integer placeId,
                                                               @Param("startDate") Date startDate,
                                                               @Param("endDate") Date endDate);

    Integer countTicketStatistics(@Param("placeId") Integer placeId,
                                  @Param("startDate") Date startDate,
                                  @Param("endDate") Date endDate);
}
